<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Koala</title>
  </head>
  <body>
    <div id="app"></div>
    <script>
        const theme = localStorage.getItem('theme') || 'dark'
        document.querySelector('html').dataset.theme
            = localStorage.getItem('theme') || 'dark'

        if (theme === 'dark') {
            document.querySelector('html').setAttribute("theme-mode", "dark");
        }

    </script>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
